home *** CD-ROM | disk | FTP | other *** search
/ Erotic Games: Memory / Erotic Games: Memory.iso / mac / air_installers / AdobeAIR.exe / setup.swf / scripts / _winRestoreButtonStyle.as < prev    next >
Text File  |  2009-02-12  |  2KB  |  43 lines

  1. package
  2. {
  3.    import mx.core.IFlexModuleFactory;
  4.    import mx.styles.CSSStyleDeclaration;
  5.    import mx.styles.StyleManager;
  6.    
  7.    public class _winRestoreButtonStyle
  8.    {
  9.       
  10.       private static var _embed_css_win_restore_down_png_445555619:Class = _winRestoreButtonStyle__embed_css_win_restore_down_png_445555619;
  11.       
  12.       private static var _embed_css_win_restore_over_png_2121827899:Class = _winRestoreButtonStyle__embed_css_win_restore_over_png_2121827899;
  13.       
  14.       private static var _embed_css_win_restore_up_png_1253523581:Class = _winRestoreButtonStyle__embed_css_win_restore_up_png_1253523581;
  15.        
  16.       
  17.       public function _winRestoreButtonStyle()
  18.       {
  19.          super();
  20.       }
  21.       
  22.       public static function init(param1:IFlexModuleFactory) : void
  23.       {
  24.          var fbs:IFlexModuleFactory = param1;
  25.          var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".winRestoreButton");
  26.          if(!style)
  27.          {
  28.             style = new CSSStyleDeclaration();
  29.             StyleManager.setStyleDeclaration(".winRestoreButton",style,false);
  30.          }
  31.          if(style.defaultFactory == null)
  32.          {
  33.             style.defaultFactory = function():void
  34.             {
  35.                this.upSkin = _embed_css_win_restore_up_png_1253523581;
  36.                this.downSkin = _embed_css_win_restore_down_png_445555619;
  37.                this.overSkin = _embed_css_win_restore_over_png_2121827899;
  38.             };
  39.          }
  40.       }
  41.    }
  42. }
  43.